package com.coderman.basketball.statistics.app;

import com.coderman.basketball.statistics.api.GameDataService;
import com.coderman.basketball.statistics.dto.GameDataDTO;
import com.coderman.basketball.statistics.dto.GamePlayerDataDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Description:
 * date: 2021/5/28
 *
 * @author shenshuai
 * @version 1.0.0
 * @since JDK 1.8
 */
@Service
public class GameDataServiceImpl implements GameDataService {

    @Autowired
    private com.coderman.basketball.statistics.service.GameDataService gameDataService;
    @Override
    public List<GamePlayerDataDTO> getPlayerDataByGameId(Long gameId) {

        return null;
    }

    @Override
    public GameDataDTO getGameDataByGameId(Long gameId) {
        return gameDataService.getByGameId(gameId);
    }
}
